package po;

import java.io.Serializable;

public class EquivalentCouponPO implements Serializable, CouponPO{
	private static final long serialVersionUID = 1L;
	private int denomination;
	private int amount;
	
	public EquivalentCouponPO() {
		this(0, 0);
	}

	public EquivalentCouponPO(int denomination, int amount) {
		this.denomination = denomination;
		this.amount = amount;
	}

	
	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	@Override
	public float getValue() {
		return denomination;
	}

	@Override
	public boolean isEqu() {
		return true;
	}
}